package com.light.gulimall.order.to;

import com.light.gulimall.order.entity.OrderEntity;
import com.light.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderCreateTo {

    //订单实体信息 对应oms_order
    private OrderEntity order;

    //订单中的每一项 对应oms_order_item
    private List<OrderItemEntity> orderItems;

    //订单的总应付金额
    private BigDecimal payPrice;

    //运费
    private BigDecimal fare;

}
